Vcenter Namespaces Instances NsxNetworkCreateSpec

Vcenter Namespaces Instances NsxNetworkCreateSpec
Vcenter Namespaces Instances NsxNetworkCreateSpec

The Vcenter Namespaces Instances NsxNetworkCreateSpec schema describes the configuration specification of a NSXT-backed Namespaces Network configuration.

This schema was added in vSphere API 7.0.2.00100.

JSON Example
{
    "namespace_network_cidrs": [
        {
            "address": "string",
            "prefix": 0
        }
    ],
    "ingress_cidrs": [
        {
            "address": "string",
            "prefix": 0
        }
    ],
    "egress_cidrs": [
        {
            "address": "string",
            "prefix": 0
        }
    ],
    "nsx_tier0_gateway": "string",
    "subnet_prefix_length": 0,
    "routed_mode": false,
    "load_balancer_size": "string"
}
namespace_network_cidrs
Optional

CIDR blocks from which Kubernetes allocates IP addresses for all workloads that attach to the namespace, including PodVMs, TKGS and VM Service VMs. This range should not overlap with those in Vcenter Namespaces Instances NsxNetworkCreateSpec.ingress_cidrs, Vcenter Namespaces Instances NsxNetworkCreateSpec.egress_cidrs, or other services running in the datacenter.

This property was added in vSphere API 7.0.2.00100.

This field is required when Vcenter Namespaces Instances NsxNetworkCreateSpec.nsx_tier0_gateway or any of Vcenter Namespaces Instances NsxNetworkCreateSpec.ingress_cidrs, Vcenter Namespaces Instances NsxNetworkCreateSpec.egress_cidrs are specified. An update operation only allows for addition of new CIDR blocks to the existing list.

ingress_cidrs
Optional

CIDR blocks from which NSX assigns IP addresses for Kubernetes Ingresses and Kubernetes Services of type LoadBalancer. These ranges should not overlap with those in Vcenter Namespaces Instances NsxNetworkCreateSpec.namespace_network_cidrs, Vcenter Namespaces Instances NsxNetworkCreateSpec.egress_cidrs, or other services running in the datacenter.

This property was added in vSphere API 7.0.2.00100.

This field is required when Vcenter Namespaces Instances NsxNetworkCreateSpec.nsx_tier0_gateway or any of Vcenter Namespaces Instances NsxNetworkCreateSpec.namespace_network_cidrs, Vcenter Namespaces Instances NsxNetworkCreateSpec.egress_cidrs are specified. An update operation only allows for addition of new CIDR blocks to the existing list.

egress_cidrs
Optional

CIDR blocks from which NSX assigns IP addresses used for performing SNAT from container IPs to external IPs. These ranges should not overlap with those in Vcenter Namespaces Instances NsxNetworkCreateSpec.namespace_network_cidrs, Vcenter Namespaces Instances NsxNetworkCreateSpec.ingress_cidrs, or other services running in the datacenter.

This property was added in vSphere API 7.0.2.00100.

This field is required when Vcenter Namespaces Instances NsxNetworkCreateSpec.routed_mode is set to False and Vcenter Namespaces Instances NsxNetworkCreateSpec.nsx_tier0_gateway or any of Vcenter Namespaces Instances NsxNetworkCreateSpec.namespace_network_cidrs, Vcenter Namespaces Instances NsxNetworkCreateSpec.ingress_cidrs is specified. When Vcenter Namespaces Instances NsxNetworkCreateSpec.routed_mode is set to True, this field is not allowed. An update operation only allows for addition of new CIDR blocks to the existing list.

string
nsx_tier0_gateway
Optional

NSX Tier0 Gateway used for this namespace. This field does not allow update once applied.

This property was added in vSphere API 7.0.2.00100.

If missing or null, cluster level settings specified in Vcenter NamespaceManagement Clusters NCPClusterNetworkInfo.nsx_tier0_gateway will be applied.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: NSXTier0Gateway. When operations return a value of this schema as a response, the property will be an identifier for the resource type: NSXTier0Gateway.

integer As int64 As int64
subnet_prefix_length
Optional

Size of the subnet reserved for namespace segments.

This property was added in vSphere API 7.0.2.00100.

If missing or null, cluster level settings specified in Vcenter NamespaceManagement Clusters NCPClusterNetworkInfo.namespace_subnet_prefix will be applied.

boolean
routed_mode
Optional

Routed mode for this namespace. When set to True, the traffic in the namespace is not NATed.

This property was added in vSphere API 7.0.2.00100.

If missing or null, defaults to False. When this field is set to True, Vcenter Namespaces Instances NsxNetworkCreateSpec.egress_cidrs is not allowed. This field does not allow update once applied.

string
load_balancer_size
Optional

The size of the NSX Load Balancer used by the namespace. This field does not allow update once applied.

For more information see: Vcenter Namespaces Instances LoadBalancerSize.

This property was added in vSphere API 7.0.2.00100.

If missing or null, defaults to Vcenter Namespaces Instances LoadBalancerSize.SMALL.